package com.yayyay.jwt.model.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * @Author: liangSY
 * @Date: 2021/9/22 10:46
 * @ClassName: LoginDto
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class LoginDTO {

    @NotBlank(message = "登陆账号不能为空")
    private String account;

    @NotBlank(message = "登陆密码不能为空")
    private String password;
}
